package com.znxs.zuopao_c.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseResponse<T> implements Serializable {

    private static final long serialVersionUID = 7392107808774761910L;

    private int code;
    // 这里加一个通用的类型 直接对应返回的data的类型
    private T data;

    private String message;

    // 描述
    private String description;

}
